package cn.panda.edu.service;


import cn.panda.edu.model.ThesisLayout;
import com.github.pagehelper.PageInfo;

/**
 * 
 * 类描述：  教师端论文service
 * @author: DuanGaoXi
 * @date： 2018-01-18 上午9:25:53
 */
public interface ThesisLayoutService {
	/**
	 * 
	* @Title: deleteByPrimaryKey 
	* @Description: 根据主键删除
	* @param thesisLayoutId
	* @return  
	* int
	 */
    int deleteByPrimaryKey(Integer thesisLayoutId);
    /**
	 * 
	* @Title: listAll 
	* @Description: 分页查找所有论文规范
	* @param pageIndex
	* @param pageSize
	* @param record
	* @return  
	* PageInfo<ThesisLayout>
	 */
	PageInfo<ThesisLayout> listAll(int pageIndex, int pageSize, ThesisLayout record);
    /**
     *
    * @Title: insert
    * @Description: 添加论文格式
    * @param record
    * @return
    * int
     */
    int insert(ThesisLayout record);

    /**
     *
    * @Title: insertSelective
    * @Description: 有选择的添加
    * @param record
    * @return
    * int
     */
    int insertSelective(ThesisLayout record);

    /**
     *
    * @Title: selectByPrimaryKey
    * @Description: 根据主键查询
    * @param thesisLayoutId
    * @return
    * ThesisLayout
     */
    ThesisLayout selectByPrimaryKey(Integer thesisLayoutId);

    /**
     *
    * @Title: updateByPrimaryKeySelective
    * @Description: 根据主键有选择的更新信息
    * @param record
    * @return
    * int
     */
    int updateByPrimaryKeySelective(ThesisLayout record);

    /**
     *
    * @Title: updateByPrimaryKey
    * @Description: 根据主键更新全部信息
    * @param record
    * @return
    * int
     */
    int updateByPrimaryKey(ThesisLayout record);
    /**
     *
    * @Title: selectLikeByPageSelective
    * @Description: 分页查询+模糊查询（学号+姓名）
    * @param @param map
    * @param @return
    * @return List<Thesis>
     */
    PageInfo<ThesisLayout> selectLikeByPageSelective(Integer thesisLayoutId, String thesisLayoutName, Integer pageIndex, Integer pageSize);
    
}
